home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / unix / ch24 / 24fig01.wrl < prev    next >
Text File  |  1996-09-23  |  917b  |  49 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright [1997] By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. Group {
  6.     children [
  7.     # Emitter marker
  8.         Shape {
  9.             appearance Appearance {
  10.                 material Material {
  11.                     diffuseColor  0.0 0.0 0.0
  12.                     emissiveColor 1.0 1.0 1.0
  13.                 }
  14.             }
  15.             geometry Sphere { radius 0.25 }
  16.         },
  17.     # Minimum range ellipsoid (circle) marker
  18.         DEF MinMarker Shape {
  19.             appearance Appearance {
  20.                 material Material {
  21.                     diffuseColor  0.0 0.0 0.0
  22.                     emissiveColor 1.0 0.0 0.5
  23.                 }
  24.             }
  25.             geometry Cylinder {
  26.                 radius 5.0
  27.                 height 0.01
  28.                 side   FALSE
  29.                 bottom FALSE
  30.             }
  31.         },
  32.     # Maximum range ellipsoid (circle) marker
  33.         DEF MaxMarker Shape {
  34.             appearance Appearance {
  35.                 material Material {
  36.                     diffuseColor  0.0 0.0 0.0
  37.                     emissiveColor 0.5 0.0 1.0
  38.                 }
  39.             }
  40.             geometry Cylinder {
  41.                 radius 10.0
  42.                 height 0.001
  43.                 side   FALSE
  44.                 bottom FALSE
  45.             }
  46.         },
  47.     ]
  48. }
  49.